package com.bdqn.oa.dao;

import com.bdqn.oa.entity.ReimbursementFile;

import java.sql.SQLException;

/**
 * @author Chenrz
 * @date 2022/7/20 20:04
 */
public interface ReimbursementFileDao {
    /**
     * 新增附件
     * @param reiFile
     * @return
     * @throws SQLException
     */
    public int saveReiFile(ReimbursementFile reiFile) throws SQLException;

    /**
     * 删除附件
     * @param reimbursementId
     * @return
     * @throws SQLException
     */
    public int deleteReiFile(Integer reimbursementId) throws SQLException;

    /**
     * 修改附件
     * @param reiFile
     * @return
     * @throws SQLException
     */
    public int updateReiFile(ReimbursementFile reiFile) throws SQLException;

    /**
     * 查询附件
     * @param reimbursementId
     * @return
     * @throws SQLException
     */
    public ReimbursementFile getReiFile(Integer reimbursementId) throws SQLException;
}
